﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LIMS.Model
{
    /// <summary>
    /// Lab(实验室管理)实体类
    /// By：田玉粮
    /// 2013.3.17
    /// </summary>
    [Serializable]
    public class Labs
    {
        /// <summary>
        /// 自增种子
        /// </summary>
        public Int32 ID { get; set; }

        /// <summary>
        /// 实验室ID
        /// </summary>
        public String labID { get; set; }

        /// <summary>
        /// 在一二节课是否被预约
        /// </summary>
        public bool labStatus12 { get; set; }

        /// <summary>
        /// 在三四节课是否被预约
        /// </summary>
        public bool labStatus34 { get; set; }

        /// <summary>
        /// 在五六节课是否被预约
        /// </summary>
        public bool labStatus56 { get; set; }

        /// <summary>
        /// 在七八节课是否被预约
        /// </summary>
        public bool labStatus78 { get; set; }

        /// <summary>
        /// 在晚上课是否被预约
        /// </summary>
        public bool labStatus910 { get; set; }

        /// <summary>
        /// 实验室最多容纳学生人数
        /// </summary>
        public int labStuCount { get; set; }

        /// <summary>
        /// 实验状态日期[用于联合TB_LabOrder表进行查询]
        /// </summary>
        public DateTime labStatusDate { get; set; }

        /// <summary>
        /// 无参构造方法
        /// </summary>
        public Labs()
        {
            this.labStatus12 = false;
            this.labStatus34 = false;
            this.labStatus56 = false;
            this.labStatus78 = false;
            this.labStatus910 = false;
            this.labStatusDate = DateTime.Today.Date;
        }


    }

}
